package com.chidopi.market.bookstore.service.impl;

import java.util.Properties;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Import;

import com.chidopi.market.RootConfig;
import com.chidopi.market.bookstore.service.IResourceService;

@Import(RootConfig.class)
public class ResourceServiceImpl implements IResourceService {
	
	@Autowired
	private RootConfig rootConfig;

	@Override
	public String getBookCityResPath() {
		return rootConfig.getBookcityResPath();
	}

	@Override
	public Properties getSysProp() {
		return rootConfig.getSysProp();
	}
}
